package cn.majingjing.tm.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.majingjing.tm.config.BeanConfig;

@RestController
public class SayController {
	@Autowired
	private BeanConfig beanconfig;

	@RequestMapping(value = "/say")
	public String say() {
		return beanconfig.getName();
	}

}
